#ifndef BLKNODE_H
#define BLKNODE_H

#include "TNode.h"
#include <vector>
using namespace std;

typedef int BlkIdx;
typedef vector<bool> BlkSet;

struct BlkNode{
	BlkIdx		blk_idx;
	StmtNum		stmt_num_start;
	StmtNum		stmt_num_end;
	TNodeType	blk_type;

	vector<StmtNum>			last_mod;		//size: VarTable::GetSize()
	vector<vector<StmtNum>>	use_bef_mod;	//size: VarTable::GetSize() X varies size

	BlkNode*	next_a;
	BlkNode*	next_b;
};

#endif